module.exports = {
  devServer: {
    open: true, // 是否自动弹出浏览器页面
    host: 'localhost',
    port: '8086',
    https: false,
    hotOnly: false,
    proxy: {
      '/api': {
        target: 'https://www.shanbay.com/api/v1/vocabtest', // API服务器的地址
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}
